//
//  ZFActivityBackGroundView.h
//  ZFActivityView
//
//  Created by fyzq on 2021/9/1.
//

#import <UIKit/UIKit.h>

///仿照MBProgressHUD  https://github.com/jdg/MBProgressHUD
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSInteger, ZFActivityBackgroundStyle) {
    /// 纯颜色背景
    ZFActivityBackgroundStyleSolidColor,
    /// 毛玻璃背景
    ZFActivityBackgroundStyleBlur
};
@interface ZFActivityBackgroundView : UIView
///背景样式
@property (nonatomic) ZFActivityBackgroundStyle style;

/// ZFActivityBackgroundStyleBlur  默认 UIBlurEffectStyleLight.
@property (nonatomic) UIBlurEffectStyle blurEffectStyle;

/// `[UIColor colorWithWhite:0.8f alpha:0.6f]`
@property (nonatomic, strong, nullable) UIColor *color;
@end

NS_ASSUME_NONNULL_END
